<template>
	<view>
		<view>
			<text space="emsp" @click="goDetailPage('login')">&nbsp;&emsp;登录注册页</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goDetailPage(e) {
			    if (typeof e === 'string') {
			        uni.navigateTo({
						url: '/pages/' + e + '/' + e
			            });
			    } else {
			        uni.navigateTo({
			            url: e.url
			        });
			    }
			}
		}
	}
</script>

<style>

</style>
